@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal" id="WzCouponInfoForm">

            <input type="hidden" id="couponId" value="${item.couponId}">
            <div class="row">
                <div class="col-sm-6 b-r">
                    <#input id="" name="奖券类型" value="${type}" disabled="disabled"/>
                    <#input id="title" name="标题" value="${item.title}"/>
                    <#input id="beginTime" name="开始时间" value="${beginTime}" clickFun="laydate({istime: true, format: 'YYYY-MM-DD hh:mm:ss'})"/>
                    <#input id="merchantAddress" name="商家地址" value="${merchantAddress}" underline="true" disabled="disabled" />

                </div>
                <div class="col-sm-6">
                    <#input id="" name="奖券子类型" value="${subtype}" disabled="disabled"/>
                    <!--<#input id="quantity" name="数量" value="${item.quantity}" underline="true"/>-->
                    <!--<#input id="subtitle" name="副标题" value="${item.subtitle}"/>-->
                    <!--<#input id="remark" name="展示备注" value="${item.remark}"/>-->
                    <#input id="subremark" name="详细备注" value="${item.subremark}"/>
                    <#input id="endTime" name="结束时间" value="${endTime}" clickFun="laydate({istime: true, format: 'YYYY-MM-DD hh:mm:ss'})"/>
                    <#input id="merchantTel" name="商家电话" value="${merchantTel}" disabled="disabled" />
                    <#input id="fileId" value="${fileId}"  name="封面图id" />
                </div>
                <div>
                    <div>
                        <div class="col-sm-9">
                            <#NameCon id="condition_userCode" style="width:30%" name="用户编号" placeholder="用户编号"/>
                        </div>
                        <div class="col-sm-3">
                            <#button name="搜索" icon="fa-search" clickFun="WzMerchantInfo.search()"/>
                        </div>
                    </div>
                    <#table id="WzMerchantInfoTable"/>
                </div>
            </div>

            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="WzCouponInfoDlg.editSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="WzCouponInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/wz/wzCoupon/wzCoupon_info.js"></script>
<script src="${ctxPath}/static/modular/wz/wzAdv/wzAdv_search.js"></script>
@}
